package com.mxx.common.data.jpa;

import javax.persistence.criteria.*;

/**
 * @Author itzgyw
 * @Date 2020-01-09
 * @Time 13:44
 * @Description:
 */
public class IgnoreNullSpecHelper extends AbstractIgnoreNullSpecHelper<IgnoreNullSpecHelper, String> {


    public IgnoreNullSpecHelper(Root root, CriteriaBuilder criteriaBuilder, CriteriaQuery criteriaQuery) {
        super(root, criteriaBuilder, criteriaQuery);
    }

    @Override
    protected Path get(String key) {
        return root.get(key);
    }

    @Override
    public IgnoreNullSpecHelper getTarget() {
        return this;
    }
}
